#include <stdio.h>
main()
{	 	 	   	  
	int i,j;
	int a[10];
	int b[9];
	for (i=0;i<10;i++)  //2
	{	 	 	   	  
		scanf("%d",&a[i]);  //2
	}
	j=0;
	for (i=0;i<=8;i++)  //2
	{	 	 	   	  
		b[j]=a[i+1]*a[i];  //2
     		printf("%3d",b[j]);  //2
		j++;

	}
	printf("\n");
}